package com.example.demo.Param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * 添加供应商param
 */
@Data
public class VendorInsertParam implements Serializable{

    @ApiModelProperty("供应商名")
    @NotEmpty(message = "供应商名不能为空")
    private String vendorname;

    @ApiModelProperty("供应商电话")
    @NotEmpty(message = "供应商电话不能为空")
    private String vendortel;


    @ApiModelProperty("供应商地址")
    @NotEmpty(message = "供应商地址不能为空")
    private String vendoraddress;
}
